Topic Models: Theory And Implementation